package com.mt.roll.wms.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.mt.roll.core.vo.CommonVo;
import com.mt.roll.core.vo.PageVo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.Accessors;
import org.springframework.transaction.annotation.Transactional;

import java.time.LocalDateTime;

/**
 * @auther yanyang
 * @date 2021/10/15 10:57
 */

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@Builder
@AllArgsConstructor //全参构造函数
@NoArgsConstructor  //无参构造函数
@ApiModel(value = "缓存区信息", description = "用于查询缓存区信息信息", parent = CommonVo.class)
public class AreaVo extends CommonVo implements PageVo.ConvertVo {

    private static final long serialVersionUID = 1L;
    /**
     * 主键，自增
     */
    @ApiModelProperty(value = "主键", example = "1")
    private Long id;

    /**
     * 添加时间
     */
    @ApiModelProperty("create_time")
    private LocalDateTime createTime;

    /**
     * 更新时间
     */
    @ApiModelProperty("update_time")
    private LocalDateTime updateTime;


    /**
     * 区域名称
     */
    @ApiModelProperty(value = "t_area_name",example = "name")
    private String tAreaName;


    /**
     * 编码
     */
    @ApiModelProperty(value = "code",example = "cb-110")
    private String code;


    /**
     * 英文名称
     */
    @ApiModelProperty(value = "en_name",example = "area")
    private String enName;

    /**
     * 缩写
     */
    @ApiModelProperty(value = "abbr",example = "n")
    private String abbr;

    /**
     * 状态		0初始化
     */
    @ApiModelProperty(value = "status",example = "0")
    private Integer status;

    /**
     * 备注
     */
    @ApiModelProperty(value = "note",example = "123")
    private String note;

    /**
     * 货架数量shelf
     */
    @ApiModelProperty(value = "shelf_num",example = "10")
    private Integer shelfNum;

    /**
     * 库位数量location
     */
    @ApiModelProperty(value = "location_num",example = "600")
    private Integer locationNum;

    /**
     * 规格
     */
    @ApiModelProperty(value = "spec",example = "600")
    private String spec;


}
